from abc import ABC, abstractmethod

class PluginBase(ABC):
    @classmethod
    @abstractmethod
    def is_compatible(cls) -> bool:
        """是否兼容当前系统"""
    
    @abstractmethod
    def apply_mirror(self, url: str):
        """应用镜像源"""